//
//  MJ_EditTaskSingleCell.m
//  UEAssistant
//
//  Created by mac on 2018/2/12.
//  Copyright © 2018年 youyixinxi. All rights reserved.
//

#import "MJ_EditTaskSingleCell.h"



@interface MJ_EditTaskSingleCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIButton *centerContentButton;
@property (weak, nonatomic) IBOutlet UIButton *moreButton;

@end

@implementation MJ_EditTaskSingleCell

- (void)setDeadTimeString:(NSString *)deadTimeString {
    _deadTimeString = deadTimeString;
    [self.centerContentButton setTitle:deadTimeString forState:UIControlStateNormal];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.separatorInset =UIEdgeInsetsMake(0, 15, 0, 15);
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)centerButtonPressed:(UIButton *)sender {
    
    self.deadTimeClick();
}

@end
